﻿/**
<code>
  <author name="Zealic" email="zealic(at)gmail.com" type="Creator"/>
</code>
**/
using System;


namespace Zealib.Transform
{
    /// <summary>
    /// Transformer factory
    /// </summary>
    public interface ITransformerFactory
    {
        /// <summary>
        /// Try create transformer.
        /// </summary>
        /// <param name="sourceType">source type.</param>
        /// <param name="result">Created transformer.</param>
        /// <returns>return true if created.</returns>
        bool TryCreate(Type sourceType, out ITransformer result);

    }
}
